﻿// -----------------------------------------------------------------------
// <copyright file="ImageException.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace PortableImagingLibrary.Exceptions
{
    using System;

    /// <summary>Base exception type.</summary>
    public class ImageException : Exception
    {
        /// <summary>Initializes a new instance of the <see cref="ImageException"/> class.</summary>
        public ImageException()
        {
        }

        /// <summary>Initializes a new instance of the <see cref="ImageException"/> class.</summary>
        /// <param name="message">The message that describes the error.</param>
        public ImageException(string message)
            : base(message)
        {
        }
    }
}